﻿div#Calc
{
    width: 408px;
}

div#MainMenu
{
    margin: 0 0 0 0;
    background: #fcfdfe; /* Old browsers */
    background: -moz-linear-gradient(top,  #fcfdfe 0%, #d6ddef 50%, #e0e5f5 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfdfe), color-stop(50%,#d6ddef), color-stop(100%,#e0e5f5)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #fcfdfe 0%,#d6ddef 50%,#e0e5f5 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #fcfdfe 0%,#d6ddef 50%,#e0e5f5 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #fcfdfe 0%,#d6ddef 50%,#e0e5f5 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #fcfdfe 0%,#d6ddef 50%,#e0e5f5 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfdfe', endColorstr='#e0e5f5',GradientType=0 ); /* IE6-9 */
}

div#MainMenu button
{
    height: 20px;
}

div#CalcContent
{
    margin: 0 0 0 0;
    background: #edf4fc; /* Old browsers */
    background: -moz-linear-gradient(top,  #edf4fc 0%, #d9e4f1 32%, #d9e4f1 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#edf4fc), color-stop(32%,#d9e4f1), color-stop(100%,#d9e4f1)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #edf4fc 0%,#d9e4f1 32%,#d9e4f1 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #edf4fc 0%,#d9e4f1 32%,#d9e4f1 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #edf4fc 0%,#d9e4f1 32%,#d9e4f1 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #edf4fc 0%,#d9e4f1 32%,#d9e4f1 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edf4fc', endColorstr='#d9e4f1',GradientType=0 ); /* IE6-9 */
}

div#Result
{
    margin: 12px 12px 3px 12px;
    padding: 16px 4px 9px 4px;
    text-align: right;
}

div#HexData
{
    margin: 3px 12px 3px 12px;
    height: 60px;
}

div#SystemSelector,div#SizeSelector 
{
    clear:both;
    float:left;
    display:inline;
    margin: 3px 3px 3px 12px;
    width: 72px;
    height: 90px;
}

div#MainMenu,div#Result,div#HexData,div#SystemSelector,div#SizeSelector
{
    border: 1px solid black;
    border-radius: 2px;
}

div#CalcContent button
{
    margin: 3px 1px 3px 1px;
    width: 33px;
    height: 26px;
}

div#CalcContent button#btn0
{
    width: 72px;
}

div#CalcContent button#btnEqual
{
    float: right;
    height: 58px;
    margin: 3px 13px 3px 1px;
}

div#MainMenu button::first-letter
{
    text-decoration:underline;
}
